What is the following code used for? $document = &JFactory::getDocument(); $renderer = $document->loadRenderer('modules'); $options = array('style' => 'xhtml'); $position = 'article-banners'; echo $renderer->render($position, $options, null);

Joomla - Online Exam Test Papers | Joomla - MCQs[multiple choice questions and answers ] | Joomla - Mock Test Papers | Joomla - Practice Papers | Joomla - Sample Test Papers |

Question:
What is the following code used for?

$document = &JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$options = array('style' => 'xhtml');
$position = 'article-banners';
echo $renderer->render($position, $options, null);

1.For loading a single module

2. For loading a module position<br>

3.both (a) and (b)

4.None of these

Posted Date:-2022-10-12 11:25:45


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!